From: Ray Strode Date: Fri, 4 Feb 2011 22:25:20 +0000 (-0500) Subject: statusMenu: temporarily drop Suspend menu item X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9125 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=59191bc4b7899eb4c8aa1dba866a82dd77ef7907;p=gnome-shell.git statusMenu: temporarily drop Suspend menu item It doesn't currently work, so hide it for now. It's not clear it's going to stay around long term, anyway. If it doesn't we can delete the code, then. Otherwise, we can add the code back when we have something that works. https://bugzilla.gnome.org/show_bug.cgi?id=636680 --- diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js index f834aad49..e09c851e9 100644 --- a/js/ui/statusMenu.js +++ b/js/ui/statusMenu.js @@ -139,9 +139,12 @@ StatusMenuButton.prototype = { item = new PopupMenu.PopupSeparatorMenuItem(); this.menu.addMenuItem(item); - item = new PopupMenu.PopupMenuItem(_("Suspend...")); - item.connect('activate', Lang.bind(this, this._onShutDownActivate)); - this.menu.addMenuItem(item); + // This is temporarily removed, see + // http://bugzilla.gnome.org/show_bug.cgi?id=636680 + // for details. + //item = new PopupMenu.PopupMenuItem(_("Suspend...")); + //item.connect('activate', Lang.bind(this, this._onShutDownActivate)); + //this.menu.addMenuItem(item); item = new PopupMenu.PopupMenuItem(_("Shut Down...")); item.connect('activate', Lang.bind(this, this._onShutDownActivate));